<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>新闻详情</title>
    <link rel="stylesheet" href="/Public/home/js/layui/css/layui.css"/>
    <script src="/Public/home/js/layui/layui.js"></script>
    <script src="/Public/home/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="/Public/home/js/zepto.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/Public/home/js/TouchSlide.1.1.js"></script>
    <script src="/Public/home/js/jQuery.textSlider.js"></script>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="/Public/home/css/weui.css"/>
    <link rel="stylesheet" href="/Public/home/css/myself.css"/>
    <script>
        layui.use('layer', function(){
            var layer = layui.layer;
        });
    </script>
</head>
<body>
<!--

-->


    <div class="page__bd">
        <article class="weui-article">
            <section>
                <h2 class="title f_cen"><?php echo ($list["title"]); ?></h2>
                <section>
                    <h3 class="f_r c_ci" ><?php echo (todate($list["addtime"])); ?></h3>
                    <p>
                        <img src="<?php echo ($list["titlepic"]); ?>" alt="" width="100%">
                    </p>
                    <p>
                        <?php echo ($list["content"]); ?>
                    </p>
                </section>
            </section>
        </article>
    </div>



    <div class="weui-tabbar">
        <a href="/index.php/Index/index" class="weui-tabbar__item weui-bar__item_on">
                <span style="display: inline-block;position: relative;">
                    <img src="/Public/home/img/ind_01.png" alt="" class="weui-tabbar__icon">

                </span>
            <p class="weui-tabbar__label">首页</p>
        </a>
        <a href="/index.php/Article/index" class="weui-tabbar__item">
            <img src="/Public/home/img/ind_02.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">新闻动态</p>
        </a>
        <a href="/index.php/Referral/index" class="weui-tabbar__item">
                <span style="display: inline-block;position: relative;">
                    <img src="/Public/home/img/ind_03.png" alt="" class="weui-tabbar__icon">

                </span>
            <p class="weui-tabbar__label">会诊转诊</p>
        </a>
        <a href="/index.php/User/userlist" class="weui-tabbar__item">
            <img src="/Public/home/img/ind_04.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">个人中心</p>
        </a>
    </div>
    <script type="text/javascript">
        $(function(){
            $('.weui-tabbar__item').on('click', function () {
                $(this).addClass('weui-bar__item_on').siblings('.weui-bar__item_on').removeClass('weui-bar__item_on');
            });
        });
    </script>



</body>
</html>